package com.dreamtour.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xls
 * @since 2024-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("transactionhistory")
public class Transactionhistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "transactionId", type = IdType.AUTO)
    private Integer transactionId;

    @TableField("serviceId")
    private Integer serviceId;

    @TableField("buyerId")
    private Integer buyerId;

    @TableField("orderTime")
    private LocalDateTime orderTime;

    @TableField("departureTime")
    private LocalDate departureTime;

    @TableField("payTime")
    private LocalDateTime payTime;

    @TableField("payMode")
    private Integer payMode;

    @TableField("finishTime")
    private LocalDateTime finishTime;

    @TableField("userRating")
    private String userRating;

    @TableField("userComments")
    private String userComments;


}
